<html>
<head>
<title>login.html</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
.s0 { color: #000000;}
.s1 { color: #0000ff; font-weight: bold;}
.s2 { color: #008000; font-weight: bold;}
.s3 { color: #000000;}
.s4 { color: #000080; font-weight: bold;}
.s5 { color: #808080; font-style: italic;}
.s6 { color: #000080; font-weight: bold;}
.s7 { color: #0000ff; font-weight: bold;}
.s8 { color: #0000ff;}
.s9 { color: #008000; font-weight: bold;}
.ln { color: #999999; font-weight: normal; font-style: normal; }
</style>
</head>
<body bgcolor="#ffffff">
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#c0c0c0" >
<tr><td><center>
<font face="Arial, Helvetica" color="#000000">
login.html</font>
</center></td></tr></table>
<pre><a name="l1"><span class="ln">1    </span></a>&lt;!DOCTYPE <span class="s1">html </span>PUBLIC <span class="s2">&quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot;</span>
<a name="l2"><span class="ln">2    </span></a>        &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&gt;
<a name="l3"><span class="ln">3    </span></a>&lt;<span class="s4">html </span><span class="s1">lang=</span><span class="s2">&quot;zh&quot; </span><span class="s1">xmlns:th=</span><span class="s2">&quot;http://www.thymeleaf.org&quot;</span>&gt;
<a name="l4"><span class="ln">4    </span></a>&lt;<span class="s4">head</span>&gt;
<a name="l5"><span class="ln">5    </span></a>    &lt;<span class="s4">th:block </span><span class="s1">th:include=</span><span class="s2">&quot;include :: header('系统管理员操作界面')&quot;</span>/&gt;
<a name="l6"><span class="ln">6    </span></a>    <span class="s5">&lt;!--&lt;th:block th:include=&quot;include :: select2-css&quot; /&gt;--&gt;</span>
<a name="l7"><span class="ln">7    </span></a>    &lt;<span class="s4">th:block </span><span class="s1">th:include=</span><span class="s2">&quot;include :: bootstrap-select-css&quot;</span>/&gt;
<a name="l8"><span class="ln">8    </span></a>    &lt;<span class="s4">link </span><span class="s1">th:href=</span><span class="s2">&quot;@{/ruoyi/css/font-awesome.css}&quot; </span><span class="s1">rel=</span><span class="s2">&quot;stylesheet&quot;</span>/&gt;
<a name="l9"><span class="ln">9    </span></a>    &lt;<span class="s4">link </span><span class="s1">th:href=</span><span class="s2">&quot;@{/ruoyi/css/jquery-confirm.min.css}&quot; </span><span class="s1">rel=</span><span class="s2">&quot;stylesheet&quot;</span>/&gt;
<a name="l10"><span class="ln">10   </span></a>&lt;/<span class="s4">head</span>&gt;
<a name="l11"><span class="ln">11   </span></a>&lt;<span class="s4">style </span><span class="s1">type=</span><span class="s2">&quot;text/css&quot;</span>&gt;
<a name="l12"><span class="ln">12   </span></a>    <span class="s6">* </span>{
<a name="l13"><span class="ln">13   </span></a>        <span class="s7">margin</span>: <span class="s8">0</span>;
<a name="l14"><span class="ln">14   </span></a>        <span class="s7">padding</span>: <span class="s8">0</span>;
<a name="l15"><span class="ln">15   </span></a>        <span class="s7">font-family</span>: <span class="s9">&quot;微软雅黑&quot;</span>;
<a name="l16"><span class="ln">16   </span></a>        <span class="s7">font-size</span>: <span class="s8">12</span><span class="s9">px</span>;
<a name="l17"><span class="ln">17   </span></a>    }
<a name="l18"><span class="ln">18   </span></a>
<a name="l19"><span class="ln">19   </span></a>    .<span class="s6">box </span>{
<a name="l20"><span class="ln">20   </span></a>        <span class="s7">width</span>: <span class="s8">390</span><span class="s9">px</span>;
<a name="l21"><span class="ln">21   </span></a>        <span class="s7">height</span>: <span class="s8">400</span><span class="s9">px</span>;
<a name="l22"><span class="ln">22   </span></a>        <span class="s7">border</span>: <span class="s9">solid </span><span class="s8">1</span><span class="s9">px </span><span class="s6">#ddd</span>;
<a name="l23"><span class="ln">23   </span></a>        <span class="s7">background</span>: <span class="s6">#FFF</span>;
<a name="l24"><span class="ln">24   </span></a>        <span class="s7">position</span>: <span class="s9">absolute</span>;
<a name="l25"><span class="ln">25   </span></a>        <span class="s7">left</span>: <span class="s8">50</span>%;
<a name="l26"><span class="ln">26   </span></a>        <span class="s7">top</span>: <span class="s8">42</span>%;
<a name="l27"><span class="ln">27   </span></a>        <span class="s7">margin-left</span>: -<span class="s8">195</span><span class="s9">px</span>;
<a name="l28"><span class="ln">28   </span></a>        <span class="s7">margin-top</span>: -<span class="s8">160</span><span class="s9">px</span>;
<a name="l29"><span class="ln">29   </span></a>    }
<a name="l30"><span class="ln">30   </span></a>
<a name="l31"><span class="ln">31   </span></a>    .<span class="s6">box h2 </span>{
<a name="l32"><span class="ln">32   </span></a>        <span class="s7">font-weight</span>: <span class="s9">normal</span>;
<a name="l33"><span class="ln">33   </span></a>        <span class="s7">color</span>: <span class="s6">#666</span>;
<a name="l34"><span class="ln">34   </span></a>        <span class="s7">font-size</span>: <span class="s8">16</span><span class="s9">px</span>;
<a name="l35"><span class="ln">35   </span></a>        <span class="s7">line-height</span>: <span class="s8">46</span><span class="s9">px</span>;
<a name="l36"><span class="ln">36   </span></a>        <span class="s7">height</span>: <span class="s8">46</span><span class="s9">px</span>;
<a name="l37"><span class="ln">37   </span></a>        <span class="s7">overflow</span>: <span class="s9">hidden</span>;
<a name="l38"><span class="ln">38   </span></a>        <span class="s7">text-align</span>: <span class="s9">center</span>;
<a name="l39"><span class="ln">39   </span></a>        <span class="s7">border-bottom</span>: <span class="s9">solid </span><span class="s8">1</span><span class="s9">px </span><span class="s6">#ddd</span>;
<a name="l40"><span class="ln">40   </span></a>        <span class="s7">background</span>: <span class="s6">#f7f7f7</span>;
<a name="l41"><span class="ln">41   </span></a>    }
<a name="l42"><span class="ln">42   </span></a>
<a name="l43"><span class="ln">43   </span></a>    .<span class="s6">input_box </span>{
<a name="l44"><span class="ln">44   </span></a>        <span class="s7">width</span>: <span class="s8">350</span><span class="s9">px</span>;
<a name="l45"><span class="ln">45   </span></a>        <span class="s7">padding-bottom</span>: <span class="s8">15</span><span class="s9">px</span>;
<a name="l46"><span class="ln">46   </span></a>        <span class="s7">margin</span>: <span class="s8">0 </span><span class="s9">auto</span>;
<a name="l47"><span class="ln">47   </span></a>        <span class="s7">overflow</span>: <span class="s9">hidden</span>;
<a name="l48"><span class="ln">48   </span></a>    }
<a name="l49"><span class="ln">49   </span></a>
<a name="l50"><span class="ln">50   </span></a>    .<span class="s6">input_box input </span>{
<a name="l51"><span class="ln">51   </span></a>        <span class="s7">float</span>: <span class="s9">left</span>;
<a name="l52"><span class="ln">52   </span></a>        <span class="s7">width</span>: <span class="s8">348</span><span class="s9">px</span>;
<a name="l53"><span class="ln">53   </span></a>        <span class="s7">height</span>: <span class="s8">40</span><span class="s9">px</span>;
<a name="l54"><span class="ln">54   </span></a>        <span class="s7">font-size</span>: <span class="s8">14</span><span class="s9">px</span>;
<a name="l55"><span class="ln">55   </span></a>        <span class="s7">border</span>: <span class="s9">solid </span><span class="s8">1</span><span class="s9">px </span><span class="s6">#ddd</span>;
<a name="l56"><span class="ln">56   </span></a>        <span class="s7">text-indent</span>: <span class="s8">10</span><span class="s9">px</span>;
<a name="l57"><span class="ln">57   </span></a>        <span class="s7">outline</span>: <span class="s9">none</span>;
<a name="l58"><span class="ln">58   </span></a>        <span class="s7">line-height</span>: <span class="s8">40</span><span class="s9">px</span>;
<a name="l59"><span class="ln">59   </span></a>    }
<a name="l60"><span class="ln">60   </span></a>
<a name="l61"><span class="ln">61   </span></a>    .<span class="s6">input_box button </span>{
<a name="l62"><span class="ln">62   </span></a>        <span class="s7">width</span>: <span class="s8">350</span><span class="s9">px</span>;
<a name="l63"><span class="ln">63   </span></a>        <span class="s7">height</span>: <span class="s8">48</span><span class="s9">px</span>;
<a name="l64"><span class="ln">64   </span></a>        <span class="s7">background</span>: <span class="s6">#3f89ec</span>;
<a name="l65"><span class="ln">65   </span></a>        <span class="s7">border</span>: <span class="s9">none</span>;
<a name="l66"><span class="ln">66   </span></a>        <span class="s7">border-radius</span>: <span class="s8">2</span><span class="s9">px</span>;
<a name="l67"><span class="ln">67   </span></a>        <span class="s7">outline</span>: <span class="s9">none</span>;
<a name="l68"><span class="ln">68   </span></a>        <span class="s7">cursor</span>: <span class="s9">pointer</span>;
<a name="l69"><span class="ln">69   </span></a>        <span class="s7">font-size</span>: <span class="s8">16</span><span class="s9">px</span>;
<a name="l70"><span class="ln">70   </span></a>        <span class="s7">color</span>: <span class="s6">#FFF</span>;
<a name="l71"><span class="ln">71   </span></a>    }
<a name="l72"><span class="ln">72   </span></a>
<a name="l73"><span class="ln">73   </span></a>    .<span class="s6">glylogin </span>{
<a name="l74"><span class="ln">74   </span></a>        <span class="s7">display</span>: <span class="s9">block</span>;
<a name="l75"><span class="ln">75   </span></a>        <span class="s7">width</span>: <span class="s8">100</span><span class="s9">px</span>;
<a name="l76"><span class="ln">76   </span></a>        <span class="s7">height</span>: <span class="s8">48</span><span class="s9">px</span>;
<a name="l77"><span class="ln">77   </span></a>        <span class="s7">background</span>: <span class="s6">#3f89ec</span>;
<a name="l78"><span class="ln">78   </span></a>        <span class="s7">border</span>: <span class="s9">none</span>;
<a name="l79"><span class="ln">79   </span></a>        <span class="s7">border-radius</span>: <span class="s8">2</span><span class="s9">px</span>;
<a name="l80"><span class="ln">80   </span></a>        <span class="s7">font-size</span>: <span class="s8">16</span><span class="s9">px</span>;
<a name="l81"><span class="ln">81   </span></a>        <span class="s7">color</span>: <span class="s6">#FFF</span>;
<a name="l82"><span class="ln">82   </span></a>        <span class="s7">text-align</span>: <span class="s9">center</span>;
<a name="l83"><span class="ln">83   </span></a>        <span class="s7">float</span>: <span class="s9">right</span>
<a name="l84"><span class="ln">84   </span></a>    }
<a name="l85"><span class="ln">85   </span></a>
<a name="l86"><span class="ln">86   </span></a>    <span class="s6">#error_box </span>{
<a name="l87"><span class="ln">87   </span></a>        <span class="s7">height</span>: <span class="s8">40</span><span class="s9">px</span>;
<a name="l88"><span class="ln">88   </span></a>        <span class="s7">width</span>: <span class="s8">350</span><span class="s9">px</span>;
<a name="l89"><span class="ln">89   </span></a>        <span class="s7">margin</span>: <span class="s8">0 </span><span class="s9">auto</span>;
<a name="l90"><span class="ln">90   </span></a>        <span class="s7">line-height</span>: <span class="s8">40</span><span class="s9">px</span>;
<a name="l91"><span class="ln">91   </span></a>        <span class="s7">color</span>: <span class="s6">#fc4343</span>;
<a name="l92"><span class="ln">92   </span></a>    }
<a name="l93"><span class="ln">93   </span></a>&lt;/<span class="s4">style</span>&gt;
<a name="l94"><span class="ln">94   </span></a>&lt;<span class="s4">body </span><span class="s1">class=</span><span class="s2">&quot;gray-bg&quot; </span><span class="s1">onkeydown=</span><span class="s2">&quot;</span>keyLogin()<span class="s2">&quot;</span>&gt;
<a name="l95"><span class="ln">95   </span></a>
<a name="l96"><span class="ln">96   </span></a>
<a name="l97"><span class="ln">97   </span></a><span class="s5">&lt;!-- 添加部门与员工模态框开始 --&gt;</span>
<a name="l98"><span class="ln">98   </span></a>&lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;modal fade&quot; </span><span class="s1">id=</span><span class="s2">&quot;bmModal&quot; </span><span class="s1">tabindex=</span><span class="s2">&quot;-1&quot; </span><span class="s1">role=</span><span class="s2">&quot;dialog&quot; </span><span class="s1">aria-labelledby=</span><span class="s2">&quot;myModalLabel&quot;</span>
<a name="l99"><span class="ln">99   </span></a>     <span class="s1">data-backdrop=</span><span class="s2">&quot;static&quot; </span><span class="s1">data-keyboard=</span><span class="s2">&quot;false&quot;</span>&gt;
<a name="l100"><span class="ln">100  </span></a>    &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;modal-dialog&quot; </span><span class="s1">role=</span><span class="s2">&quot;document&quot;</span>&gt;
<a name="l101"><span class="ln">101  </span></a>        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;modal-content&quot;</span>&gt;
<a name="l102"><span class="ln">102  </span></a>            &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;modal-header&quot;</span>&gt;
<a name="l103"><span class="ln">103  </span></a>                &lt;<span class="s4">button </span><span class="s1">type=</span><span class="s2">&quot;button&quot; </span><span class="s1">class=</span><span class="s2">&quot;close&quot; </span><span class="s1">data-dismiss=</span><span class="s2">&quot;modal&quot; </span><span class="s1">aria-label=</span><span class="s2">&quot;Close&quot;</span>&gt;&lt;<span class="s4">span</span>
<a name="l104"><span class="ln">104  </span></a>                        <span class="s1">aria-hidden=</span><span class="s2">&quot;true&quot;</span>&gt;<span class="s1">&amp;times;</span>&lt;/<span class="s4">span</span>&gt;
<a name="l105"><span class="ln">105  </span></a>                &lt;/<span class="s4">button</span>&gt;
<a name="l106"><span class="ln">106  </span></a>                &lt;<span class="s4">h4 </span><span class="s1">class=</span><span class="s2">&quot;modal-title&quot;</span>&gt;管理员登录&lt;/<span class="s4">h4</span>&gt;
<a name="l107"><span class="ln">107  </span></a>            &lt;/<span class="s4">div</span>&gt;
<a name="l108"><span class="ln">108  </span></a>            &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;modal-body&quot;</span>&gt;
<a name="l109"><span class="ln">109  </span></a>                &lt;<span class="s4">form </span><span class="s1">class=</span><span class="s2">&quot;form-horizontal&quot;</span>&gt;
<a name="l110"><span class="ln">110  </span></a>                    &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;form-group&quot;</span>&gt;
<a name="l111"><span class="ln">111  </span></a>                        &lt;<span class="s4">label </span><span class="s1">class=</span><span class="s2">&quot;col-sm-3 control-label&quot;</span>&gt;登录名称&lt;/<span class="s4">label</span>&gt;
<a name="l112"><span class="ln">112  </span></a>                        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;col-sm-9&quot;</span>&gt;
<a name="l113"><span class="ln">113  </span></a>                            &lt;<span class="s4">input </span><span class="s1">type=</span><span class="s2">&quot;text&quot; </span><span class="s1">name=</span><span class="s2">&quot;loginName&quot; </span><span class="s1">class=</span><span class="s2">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s2">&quot;loginname&quot; </span><span class="s1">placeholder=</span><span class="s2">&quot;请输入登录名称&quot; </span>&gt;
<a name="l114"><span class="ln">114  </span></a>                            &lt;<span class="s4">span </span><span class="s1">class=</span><span class="s2">&quot;help-block&quot;</span>&gt;&lt;/<span class="s4">span</span>&gt;
<a name="l115"><span class="ln">115  </span></a>                        &lt;/<span class="s4">div</span>&gt;
<a name="l116"><span class="ln">116  </span></a>                    &lt;/<span class="s4">div</span>&gt;
<a name="l117"><span class="ln">117  </span></a>
<a name="l118"><span class="ln">118  </span></a>                    &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;form-group&quot;</span>&gt;
<a name="l119"><span class="ln">119  </span></a>                        &lt;<span class="s4">label </span><span class="s1">class=</span><span class="s2">&quot;col-sm-3 control-label&quot;</span>&gt;公司名称&lt;/<span class="s4">label</span>&gt;
<a name="l120"><span class="ln">120  </span></a>                        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;col-sm-7&quot;</span>&gt;
<a name="l121"><span class="ln">121  </span></a>                            &lt;<span class="s4">select </span><span class="s1">name=</span><span class="s2">&quot;bm&quot; </span><span class="s1">class=</span><span class="s2">&quot;form-control m-b&quot; </span><span class="s1">id=</span><span class="s2">&quot;bm_bm&quot;</span>&gt;
<a name="l122"><span class="ln">122  </span></a>                            &lt;/<span class="s4">select</span>&gt;
<a name="l123"><span class="ln">123  </span></a>                            &lt;<span class="s4">span </span><span class="s1">class=</span><span class="s2">&quot;help-block&quot;</span>&gt;&lt;/<span class="s4">span</span>&gt;
<a name="l124"><span class="ln">124  </span></a>                        &lt;/<span class="s4">div</span>&gt;
<a name="l125"><span class="ln">125  </span></a>                    &lt;/<span class="s4">div</span>&gt;
<a name="l126"><span class="ln">126  </span></a>
<a name="l127"><span class="ln">127  </span></a>                    &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;form-group&quot;</span>&gt;
<a name="l128"><span class="ln">128  </span></a>                        &lt;<span class="s4">label </span><span class="s1">class=</span><span class="s2">&quot;col-sm-3 control-label&quot;</span>&gt;登录密码&lt;/<span class="s4">label</span>&gt;
<a name="l129"><span class="ln">129  </span></a>                        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;col-sm-9&quot;</span>&gt;
<a name="l130"><span class="ln">130  </span></a>                            &lt;<span class="s4">input </span><span class="s1">type=</span><span class="s2">&quot;text&quot; </span><span class="s1">name=</span><span class="s2">&quot;loginPassword&quot; </span><span class="s1">class=</span><span class="s2">&quot;form-control&quot; </span><span class="s1">id=</span><span class="s2">&quot;loginpassword&quot;</span>
<a name="l131"><span class="ln">131  </span></a>                                   <span class="s1">placeholder=</span><span class="s2">&quot;请输入登录密码&quot;</span>&gt;
<a name="l132"><span class="ln">132  </span></a>                            &lt;<span class="s4">span </span><span class="s1">class=</span><span class="s2">&quot;help-block&quot;</span>&gt;&lt;/<span class="s4">span</span>&gt;
<a name="l133"><span class="ln">133  </span></a>                        &lt;/<span class="s4">div</span>&gt;
<a name="l134"><span class="ln">134  </span></a>                    &lt;/<span class="s4">div</span>&gt;
<a name="l135"><span class="ln">135  </span></a>
<a name="l136"><span class="ln">136  </span></a>                &lt;/<span class="s4">form</span>&gt;
<a name="l137"><span class="ln">137  </span></a>            &lt;/<span class="s4">div</span>&gt;
<a name="l138"><span class="ln">138  </span></a>            &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;modal-footer&quot;</span>&gt;
<a name="l139"><span class="ln">139  </span></a>                &lt;<span class="s4">button </span><span class="s1">type=</span><span class="s2">&quot;button&quot; </span><span class="s1">class=</span><span class="s2">&quot;btn btn-default&quot; </span><span class="s1">data-dismiss=</span><span class="s2">&quot;modal&quot;</span>&gt;关闭&lt;/<span class="s4">button</span>&gt;
<a name="l140"><span class="ln">140  </span></a>                &lt;<span class="s4">button </span><span class="s1">type=</span><span class="s2">&quot;button&quot; </span><span class="s1">class=</span><span class="s2">&quot;btn btn-primary&quot; </span><span class="s1">id=</span><span class="s2">&quot;tj_bm_btn&quot; </span><span class="s1">onclick=</span><span class="s2">&quot;</span>glydl()<span class="s2">&quot;</span>&gt;登录&lt;/<span class="s4">button</span>&gt;
<a name="l141"><span class="ln">141  </span></a>            &lt;/<span class="s4">div</span>&gt;
<a name="l142"><span class="ln">142  </span></a>        &lt;/<span class="s4">div</span>&gt;
<a name="l143"><span class="ln">143  </span></a>    &lt;/<span class="s4">div</span>&gt;
<a name="l144"><span class="ln">144  </span></a>&lt;/<span class="s4">div</span>&gt;
<a name="l145"><span class="ln">145  </span></a><span class="s5">&lt;!--添加部门与员工模态框结束--&gt;</span>
<a name="l146"><span class="ln">146  </span></a>
<a name="l147"><span class="ln">147  </span></a>&lt;<span class="s4">div</span>&gt;
<a name="l148"><span class="ln">148  </span></a>    &lt;<span class="s4">button </span><span class="s1">type=</span><span class="s2">&quot;button&quot; </span><span class="s1">class=</span><span class="s2">&quot;glylogin&quot;</span>&gt;管理员登录&lt;/<span class="s4">button</span>&gt;
<a name="l149"><span class="ln">149  </span></a>&lt;/<span class="s4">div</span>&gt;
<a name="l150"><span class="ln">150  </span></a>&lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;box&quot;</span>&gt;
<a name="l151"><span class="ln">151  </span></a>    &lt;<span class="s4">h2</span>&gt;登录&lt;/<span class="s4">h2</span>&gt;
<a name="l152"><span class="ln">152  </span></a>    &lt;<span class="s4">div </span><span class="s1">id=</span><span class="s2">&quot;error_box&quot;</span>&gt;&lt;/<span class="s4">div</span>&gt;
<a name="l153"><span class="ln">153  </span></a>    &lt;<span class="s4">form</span>&gt;
<a name="l154"><span class="ln">154  </span></a>        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;input_box&quot;</span>&gt;
<a name="l155"><span class="ln">155  </span></a>            &lt;<span class="s4">select </span><span class="s1">class=</span><span class="s2">&quot;form-control&quot; </span><span class="s1">name=</span><span class="s2">&quot;gsid&quot; </span><span class="s1">id=</span><span class="s2">&quot;gsid&quot;</span>&gt;
<a name="l156"><span class="ln">156  </span></a>            &lt;/<span class="s4">select</span>&gt;
<a name="l157"><span class="ln">157  </span></a>        &lt;/<span class="s4">div</span>&gt;
<a name="l158"><span class="ln">158  </span></a>        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;input_box&quot;</span>&gt;
<a name="l159"><span class="ln">159  </span></a>            &lt;<span class="s4">input </span><span class="s1">type=</span><span class="s2">&quot;text&quot; </span><span class="s1">placeholder=</span><span class="s2">&quot;请输入账户名&quot; </span><span class="s1">name=</span><span class="s2">&quot;loginName&quot; </span><span class="s1">id=</span><span class="s2">&quot;uname&quot;</span>/&gt;
<a name="l160"><span class="ln">160  </span></a>        &lt;/<span class="s4">div</span>&gt;
<a name="l161"><span class="ln">161  </span></a>        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;input_box&quot;</span>&gt;
<a name="l162"><span class="ln">162  </span></a>            &lt;<span class="s4">input </span><span class="s1">type=</span><span class="s2">&quot;password&quot; </span><span class="s1">placeholder=</span><span class="s2">&quot;请输入密码&quot; </span><span class="s1">name=</span><span class="s2">&quot;loginPassword&quot; </span><span class="s1">id=</span><span class="s2">&quot;upass&quot;</span>/&gt;
<a name="l163"><span class="ln">163  </span></a>        &lt;/<span class="s4">div</span>&gt;
<a name="l164"><span class="ln">164  </span></a>        &lt;<span class="s4">div </span><span class="s1">class=</span><span class="s2">&quot;input_box&quot;</span>&gt;
<a name="l165"><span class="ln">165  </span></a>            &lt;<span class="s4">button </span><span class="s1">type=</span><span class="s2">&quot;button&quot; </span><span class="s1">id=</span><span class="s2">&quot;login&quot;</span>&gt;登录&lt;/<span class="s4">button</span>&gt;
<a name="l166"><span class="ln">166  </span></a>        &lt;/<span class="s4">div</span>&gt;
<a name="l167"><span class="ln">167  </span></a>    &lt;/<span class="s4">form</span>&gt;
<a name="l168"><span class="ln">168  </span></a>&lt;/<span class="s4">div</span>&gt;
<a name="l169"><span class="ln">169  </span></a>&lt;<span class="s4">th:block </span><span class="s1">th:include=</span><span class="s2">&quot;include :: footer&quot;</span>/&gt;
<a name="l170"><span class="ln">170  </span></a>&lt;<span class="s4">th:block </span><span class="s1">th:include=</span><span class="s2">&quot;include :: bootstrap-select-js&quot;</span>/&gt;
<a name="l171"><span class="ln">171  </span></a>&lt;<span class="s4">script </span><span class="s1">th:src=</span><span class="s2">&quot;@{/ruoyi/js/jquery-confirm.min.js}&quot;</span>&gt;&lt;/<span class="s4">script</span>&gt;
<a name="l172"><span class="ln">172  </span></a>&lt;<span class="s4">script </span><span class="s1">th:src=</span><span class="s2">&quot;@{/ruoyi/js/jquery.form.js}&quot;</span>&gt;&lt;/<span class="s4">script</span>&gt;
<a name="l173"><span class="ln">173  </span></a>&lt;<span class="s4">script </span><span class="s1">th:inline=</span><span class="s2">&quot;javascript&quot;</span>&gt;
<a name="l174"><span class="ln">174  </span></a>    <span class="s6">function </span>keyLogin() {
<a name="l175"><span class="ln">175  </span></a>        <span class="s6">if </span>(event.keyCode==<span class="s8">13</span>){
<a name="l176"><span class="ln">176  </span></a>            document.getElementById(<span class="s9">'login'</span>).click();
<a name="l177"><span class="ln">177  </span></a>        }
<a name="l178"><span class="ln">178  </span></a>    }
<a name="l179"><span class="ln">179  </span></a>    <span class="s6">function </span>glydl() {
<a name="l180"><span class="ln">180  </span></a>        <span class="s6">var </span>gsid = $(<span class="s9">&quot;#bm_bm&quot;</span>).val()
<a name="l181"><span class="ln">181  </span></a>        <span class="s6">var </span>loginName = $(<span class="s9">&quot;#loginname&quot;</span>).val()
<a name="l182"><span class="ln">182  </span></a>        <span class="s6">var </span>loginPassword = $(<span class="s9">&quot;#loginpassword&quot;</span>).val()
<a name="l183"><span class="ln">183  </span></a>        $.ajax({
<a name="l184"><span class="ln">184  </span></a>            url: <span class="s9">&quot;/sbgl/sbuser/login/&quot; </span>+ gsid + <span class="s9">&quot;/&quot; </span>+ loginName + <span class="s9">&quot;/&quot; </span>+ loginPassword,
<a name="l185"><span class="ln">185  </span></a>            type: <span class="s9">'get'</span>,
<a name="l186"><span class="ln">186  </span></a>            success: <span class="s6">function </span>(result) {
<a name="l187"><span class="ln">187  </span></a>                <span class="s6">if </span>(result != <span class="s9">&quot;&quot;</span>) {
<a name="l188"><span class="ln">188  </span></a>                    window.location.href = <span class="s9">&quot;/index&quot;</span>
<a name="l189"><span class="ln">189  </span></a>                }
<a name="l190"><span class="ln">190  </span></a>            }
<a name="l191"><span class="ln">191  </span></a>        })
<a name="l192"><span class="ln">192  </span></a>    }
<a name="l193"><span class="ln">193  </span></a>    $(<span class="s9">&quot;.glylogin&quot;</span>).click(<span class="s6">function </span>() {
<a name="l194"><span class="ln">194  </span></a>        $(<span class="s9">&quot;#bmModal&quot;</span>).modal({
<a name="l195"><span class="ln">195  </span></a>            backdrop: <span class="s9">&quot;static&quot;</span>
<a name="l196"><span class="ln">196  </span></a>        });
<a name="l197"><span class="ln">197  </span></a>        $(<span class="s9">&quot;#loginname&quot;</span>).val(<span class="s9">&quot;&quot;</span>)
<a name="l198"><span class="ln">198  </span></a>        $(<span class="s9">&quot;#loginpassword&quot;</span>).val(<span class="s9">&quot;&quot;</span>)
<a name="l199"><span class="ln">199  </span></a>        gsmc(<span class="s9">'#bm_bm'</span>)
<a name="l200"><span class="ln">200  </span></a>    })
<a name="l201"><span class="ln">201  </span></a>
<a name="l202"><span class="ln">202  </span></a>    <span class="s6">function </span>gsmc(ele) {
<a name="l203"><span class="ln">203  </span></a>        $.ajax({
<a name="l204"><span class="ln">204  </span></a>            url: <span class="s9">'/sbgl/gsxxb/getgsxxb'</span>,
<a name="l205"><span class="ln">205  </span></a>            type: <span class="s9">'get'</span>,
<a name="l206"><span class="ln">206  </span></a>            success: <span class="s6">function </span>(result) {
<a name="l207"><span class="ln">207  </span></a>                $(ele).empty();
<a name="l208"><span class="ln">208  </span></a>                <span class="s6">var </span>options = <span class="s9">&quot;&quot;</span>;   <span class="s5">//字符串拼接</span>
<a name="l209"><span class="ln">209  </span></a>                $(ele).append(<span class="s9">'&lt;option value=&quot;0&quot;&gt;请选择公司名称&lt;/option&gt;'</span>);
<a name="l210"><span class="ln">210  </span></a>                <span class="s6">for </span>(<span class="s6">var </span>i <span class="s6">in </span>result) {  <span class="s5">//遍历json数组</span>
<a name="l211"><span class="ln">211  </span></a>                    options += <span class="s9">&quot;&lt;option value='&quot; </span>+ result[i].gsid + <span class="s9">&quot;'&gt;&quot; </span>+ result[i].gs + <span class="s9">&quot;&lt;/option&gt;&quot;</span>
<a name="l212"><span class="ln">212  </span></a>                }
<a name="l213"><span class="ln">213  </span></a>                $(ele).append(options);
<a name="l214"><span class="ln">214  </span></a>            }
<a name="l215"><span class="ln">215  </span></a>        })
<a name="l216"><span class="ln">216  </span></a>    }
<a name="l217"><span class="ln">217  </span></a>    $(document).ready(<span class="s6">function </span>() {
<a name="l218"><span class="ln">218  </span></a>        gsmc(<span class="s9">'#gsid'</span>)
<a name="l219"><span class="ln">219  </span></a>    })
<a name="l220"><span class="ln">220  </span></a>    $(<span class="s9">&quot;#login&quot;</span>).click(<span class="s6">function </span>() {
<a name="l221"><span class="ln">221  </span></a>        <span class="s6">var </span>gsid = $(<span class="s9">&quot;#gsid&quot;</span>).val()
<a name="l222"><span class="ln">222  </span></a>        <span class="s6">var </span>loginName = $(<span class="s9">&quot;#uname&quot;</span>).val()
<a name="l223"><span class="ln">223  </span></a>        <span class="s6">var </span>loginPassword = $(<span class="s9">&quot;#upass&quot;</span>).val()
<a name="l224"><span class="ln">224  </span></a>        $.ajax({
<a name="l225"><span class="ln">225  </span></a>            url: <span class="s9">&quot;/sbgl/sbuser/login/&quot; </span>+ gsid + <span class="s9">&quot;/&quot; </span>+ loginName + <span class="s9">&quot;/&quot; </span>+ loginPassword,
<a name="l226"><span class="ln">226  </span></a>            type: <span class="s9">'get'</span>,
<a name="l227"><span class="ln">227  </span></a>            success: <span class="s6">function </span>(result) {
<a name="l228"><span class="ln">228  </span></a>                <span class="s6">if </span>(result != <span class="s9">&quot;&quot;</span>) {
<a name="l229"><span class="ln">229  </span></a>                    window.location.href = <span class="s9">&quot;/sbgl/sbxxb/sbxxb&quot;</span>
<a name="l230"><span class="ln">230  </span></a>                }
<a name="l231"><span class="ln">231  </span></a>            }
<a name="l232"><span class="ln">232  </span></a>        })
<a name="l233"><span class="ln">233  </span></a>    })
<a name="l234"><span class="ln">234  </span></a>&lt;/<span class="s4">script</span>&gt;
<a name="l235"><span class="ln">235  </span></a>&lt;/<span class="s4">body</span>&gt;
<a name="l236"><span class="ln">236  </span></a>&lt;/<span class="s4">html</span>&gt;</pre>
</body>
</html>